package com.shouxue.dragrvdemo;

import androidx.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * 描述：常量定义
 * 创建者：uidq2533
 * 日期：2021-10-21 17:07
 */
public class GlobalConstants {
    /**
     * 扩展窗口类型
     */
    public static final int STATUS_PANEL_WINDOW_TYPE = 2100;
    public static final int TRANSPARENT_PANEL_WINDOW_TYPE = 2003;
    public static final int ANGLE_WINDOW_TYPE = 2130;

    /**
     * 快捷类型
     */
    @IntDef({ShortcutType.SYSTEM, ShortcutType.VEHICLE})
    @Retention(value = RetentionPolicy.SOURCE)
    public @interface ShortcutType {
        int SYSTEM= 0;
        int VEHICLE= 1;
    }

}
